package com.yoyo.itravel.bean;

import java.io.Serializable;

/**
 * @Description 评论图片实体类
 *
 * @author HZX
 * @date 2020/5/14 13:17
 */
public class CommentImg implements Serializable {

    private String commentImgId; // 景点评论图片id
    private String imgPath; // 景点评论图片路径

    private String sightCommentId; // 图片所属评论id
    private SightComment sightComment; // 图片所属评论对象

    public CommentImg() {
    }

    public CommentImg(String commentImgId, String imgPath, String sightCommentId) {
        this.commentImgId = commentImgId;
        this.imgPath = imgPath;
        this.sightCommentId = sightCommentId;
    }

    public CommentImg(String commentImgId, String imgPath, String sightCommentId, SightComment sightComment) {
        this.commentImgId = commentImgId;
        this.imgPath = imgPath;
        this.sightCommentId = sightCommentId;
        this.sightComment = sightComment;
    }

    public String getCommentImgId() {
        return commentImgId;
    }

    public void setCommentImgId(String commentImgId) {
        this.commentImgId = commentImgId;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public String getSightCommentId() {
        return sightCommentId;
    }

    public void setSightCommentId(String sightCommentId) {
        this.sightCommentId = sightCommentId;
    }

    public SightComment getSightComment() {
        return sightComment;
    }

    public void setSightComment(SightComment sightComment) {
        this.sightComment = sightComment;
    }

    @Override
    public String toString() {
        return "CommentImg{" +
                "commentImgId='" + commentImgId + '\'' +
                ", imgPath='" + imgPath + '\'' +
                ", sightCommentId='" + sightCommentId + '\'' +
                ", sightComment=" + sightComment +
                '}';
    }
}
